package com.boardgame.gwt.service.operate.action.buy;

import com.boardgame.gwt.service.operate.action.Initial.InitialAction;
import com.boardgame.gwt.service.operate.action.platcard.PlayPairCardAction;

import java.util.regex.Pattern;

import static com.boardgame.gwt.finalinfo.SyntaxMatchFinal.INITIAL_BUYDisaster_ACTION;

/**
 * 购买灾难
 */
public class BuyDisasterAction extends InitialAction {
    @Override
    public Pattern getPattern() {
        return Pattern.compile(INITIAL_BUYDisaster_ACTION);
    }

    public static BuyDisasterAction create(){
        return new BuyDisasterAction();
    }
    
    protected int getCost() {
    	return 7;
    }
}
